<template>
  <a-textarea v-model:value="value" :placeholder="placeholder" :auto-size="{minRows: rows, maxRows: 6}" :rows="rows" />
</template>
<script lang="ts" setup>
import { ref } from 'vue';
interface Props{
  rows?:number
  placeholder?:string
}
const props = withDefaults(defineProps<Props>(),{
  rows:3,
  placeholder:'请输入',
})

const value = defineModel({
  default:'',
})

</script>

